//
// MaFenetre.hpp for  in /home/goldbe_y//cpp/plazza-2014-bramar_g/Qt
//
// Made by yoni goldberg
// Login   <goldbe_y@epitech.net>
//
// Started on  Sun Apr 17 16:36:55 2011 yoni goldberg
// Last update Fri Apr 29 19:36:46 2011 yoni goldberg
//

#ifndef __MAFENETRE_H__
# define __MAFENETRE_H__

#include <QApplication>
#include <QLineEdit>
#include <QLabel>
#include <QWidget>
#include <QLineEdit>
#include <QGridLayout>
#include <QPushButton>
#include <QMessageBox>
#include <QString>

class MaFenetre : public QWidget
{
  Q_OBJECT;
public:
  MaFenetre(QApplication &app);

private:
  QLabel	*Bienvenue;
  QGridLayout	*layout;
  QPushButton	*Centree;
  QPushButton	*Normal;
  QPushButton	*Quit;
  QLineEdit	*min;
  QLineEdit	*max;
  QLineEdit	*mu;
  QLineEdit	*sigma;

  double	val_min;
  double	val_max;
  double	val_mu;
  double	val_sigma;

  void		Place(QApplication &app);

public slots:
  void		loi_centree();
  void		loi_normale();
};


#endif /* !__MAFENETRE_H__ */
